package com.llp.javaweb.service;

import com.llp.javaweb.pojo.AddProduct;
import com.llp.javaweb.pojo.Product;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * @BelongsProject: AscentWeb
 * @BelongsPackage: com.llp.javaweb.service
 * @Author: bovan
 * @Date: 2022/11/2 11:32
 * @Description:
 */
public interface ProductService {
    Boolean addProduct(HttpServletResponse response,AddProduct product) throws IOException;

    List<Product> selectAllProducts();
}
